@import '~weaver-mobile/lib/calendar/style/index.less';
.wea-edc-mobile-statistics {
  width: 100%;
  height: 100%;
  background: #fff;
  position: relative;
  .edc-mobile-statistics-back {
    height: 32px;
    border-bottom: 1px solid #eee;
    background-color: #fff;
    position: relative;
    z-index: 25;

     &>a {
      display: flex;
      align-items: center;
      height: 32px;
      width: 40px;
     }

     .am-icon {
       width: 18px;
       height: 18px;
       margin-left: 6px;
       border-radius: 50%;
       padding: 4px;
       color: #1f2021;
     }

     .am-icon:hover {
       background-color: #eee;
     }
  }
  .am-navbar {
    position: relative;
    z-index: 24;
    background-color: #efeff4;
    .am-navbar-title {
      color: #333;
      font-size: 13px;
      padding-left: 0;
      position: relative;
      .navbar-date-title {
        border-radius: 20px;
        padding: 3px 12px;
        .am-icon {
          width: 12px;
          height: 12px;
          margin-bottom: -1px;
          padding-left: 6px;
        }
      }
    }
    .date-masker {
      position: absolute;
      top: 0;
      right: 0;
      left: 0;
      bottom: 0;
      z-index: 25;
    }
    .week-masker {
      position: fixed;
      top: 0;
      right: 0;
      left: 0;
      height: 45px;
      z-index: 25;
    }
    .week-masker-has-back {
      top: 32px;
    }
    .am-navbar-left {
      padding-left: 20px;
    }
    .am-navbar-right {
      color: #333;
      margin-right: 10px;
      .am-icon-md {
        width: 20px;
        height: 20px;
      }
      .navbar-date-ellipsis {
        padding: 0 20px;
      }
      .navbar-has-condition {
        position: relative;
        .am-icon {
          color: #55b1f9;
        }
      }
      .navbar-has-condition::after {
        content: '';
        border: 3px solid red;
        border-radius: 50%;
        position: absolute;
        top: 12px;
        right: 15px;
      }
    }
  }
  .statistics-loading {
    height: calc(~'100% - 20px');
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .main {
    height: calc(~"100% - 75px");
    display: flex;
    flex-direction: column;
    padding: 15px 0px;
    .header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0 20px;
      height: 35px;
    }
    .title {
      color: #444;
      flex: 1;
      height: 35px;
      line-height: 35px;
      font-size: 20px;
      font-weight: bold;
      white-space: nowrap;
      text-overflow: ellipsis;
      overflow: hidden;
    }
    .fill {
      height: 25px;
      line-height: 22px;
      border-radius: 2px;
      padding: 0 10px;
      font-size: 12px;
      cursor: pointer;
    }
  }
  .main-has-back {
    height: calc(~'100% - 108px');
  }
  .msg {
    display: flex;
    flex-direction: column;
    padding: 0px 20px;
    color: #333;
    height: 28px;
    & > div {
      margin-bottom: 6px;

      & > span {
        font-size: 12px;
        color: #999999;
      }
      & > span:nth-child(2) {
        padding-right: 5px;
      }     
    }
    .time-author {
      &>div:first-child {
        padding-bottom: 3px;
      }
    }
  }
  .submit-count {
    display: flex;
    height: 34px;
    padding: 0 0 5px 0;
    margin: 0 20px;
    font-size: 12px;
    border-bottom: 1px solid #efeff4;
    align-items: baseline;
    justify-content: space-between;
    color: #444;
    .result-write-member {
      padding-right: 10px;
    }
    .number {
      color: #444;
      font-size: 24px;
    }
    .no-wrtie-link {
      line-height: 20px;
      padding: 4px;
      text-align: right;
      & > a {
        display: inline-block;
        width: 100%;
        height: 100%;
        color: red;
      }
    }
  }
  .result-analysis {
    padding: 15px 20px 10px 20px;
    .am-segment {
      border-radius: 2px;
      min-height: 30px;
      height: 30px;
      .am-segment-item {
        font-size: 13px;
        cursor: pointer;
        &:first-child {
          border-radius: 2px 0 0 2px;
        }
        &:last-child {
          border-radius: 0 2px 2px 0;
        }
      }
    }
  }
  .statistics-list {
    flex: 1;
    flex-grow: 1;
    overflow: hidden;

    ::-webkit-scrollbar {
      width: 4px;
      background-color: #000;
    }
    ::-webkit-scrollbar-thumb {
      border-radius: 10px;
      -webkit-box-shadow: none;
      background: #ccc;
      -webkit-box-shadow: none;
    }
    ::-webkit-scrollbar-track {
      -webkit-box-shadow: none;
      background: #fff;
      -webkit-box-shadow: none;
    }
    .wm-ef-list-view-page {
      background-color: #fff;
    }
    .am-list-body {
      border-bottom: 0px;

      .list-view-section-body {
        padding: 0 20px;
      }
    }
    .statistics-row-item {
      display: flex;
      padding: 8px 0px;
      align-items: center;
      border-bottom: 1px solid #efeff4;
      .person-info {
        display: flex;
        height: 40px;
        flex-direction: column;
        justify-content: space-between;
        .lastname {
          font-size: 14px;
          color: #000;
        }

        .create-date {
          color: #868686;
          font-size: 12px;
        }
      }
      .am-avatar {
        margin-right: 8px;
        width: 40px;
        height: 40px;
      }
    }
  }
  .statistics-no-data {
    flex: 1;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    & > .am-icon {
      width: 50px;
      height: 50px;
      margin-bottom: 8px;
    }

    & > span {
      font-size: 12px;
      color: #999;
    }
  }
  .statistics-chart {
    flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    display: -ms-flexbox;
    display: flex;
    overflow: hidden;

    .m-preview.m-preview-default {
      height: 100%;
      overflow: auto;
    }
    & > div{
      width: 100%;
    }
    .am-result {
      border-bottom: none !important;
    }
    .am-result-title {
      font-size: 14px;
    }
    .am-result-message {
      font-size: 12px;
    }
    .m-preview .rp-chart-card:first-child{
      padding-top: 20px;
    }
    .m-preview .rp-chart-card .chart-digitalpanel {
      .rp-chart-container .rp-chart-ditigal-panel{
        background: #fff;
      }
      .rp-chart-container .rp-chart-ditigal-panel>div:first-child {
        padding-left: 0;
        margin-right: 1px;
        margin-bottom: 1px;
      }
    }
    
  }
  .icon-disabled{
    opacity: 0.5;
  }
  .am-navbar-left{
    flex-grow: 0;
    flex-shrink: 0;
    width: 30px;
    padding-left: 5px;
  }
  .am-navbar-title{
    flex-grow: 0;
    flex-shrink: 0;
    padding-left: 5px;
    font-size: 14px;
  }
  .navbar-date-title{
    color: #55b1f9;
    background: #fff;
    padding: 5px 15px;
    border-radius: 5px;
    & > .am-icon{
      margin-bottom: -2px;
      padding-left: 8px
    } 
  }
  .navbar-date-before{
    padding: 10px 10px 10px 0;
  }
  .navbar-date-next{
    padding: 10px 0 10px 10px;
  }
  .navbar-date-ellipsis{
    height: 100%;
    padding: 0 15px;
    margin-right: -15px;
    display: flex;
    align-items: center;
  }
}
.unsubmit {
  height: 100%;
  width: 100%;
  box-sizing: border-box;
  padding-top: 20px;
  background-color: #fff;
  .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px 10px;
    & > span {
      font-size: 14px;
      font-weight: 600;
      cursor: pointer;
      .am-icon {
        position: relative;
        top: 4px;
        padding-right: 6px;
      }
    }
    .remind-unsubmit-member {
      height: 25px;
      line-height: 24px;
      border-radius: 2px;
      padding: 0 8px;
      font-size: 12px;
      border: 1px solid #eee;
      color: red;
      cursor: pointer;
     }
  }
  .person-list {
    height: calc(~'100% - 37px');
    ::-webkit-scrollbar {
      width: 4px;
      background-color: #000;
    }

    ::-webkit-scrollbar-thumb {
      border-radius: 10px;
      -webkit-box-shadow: none;
      background: #ccc;
      -webkit-box-shadow: none;
    }

    ::-webkit-scrollbar-track {
      -webkit-box-shadow: none;
      background: #fff;
      -webkit-box-shadow: none;
    }
    .am-list-body {
      border: 0px;
      .list-view-section-body {
        padding: 0 20px;
      }
      li {
        display: flex;
        align-items: center;
        list-style: none;
        padding: 8px 0;
        border-bottom: 1px solid #eee;
        &>.person-info {
          display: flex;
          height: 45px;
          flex-direction: column;
          justify-content: space-between;
          .person-name {
            font-size: 14px;
          }
          .person-department {
            font-size: 12px;
            color: #868686;
          }
        }

        &>.am-avatar {
          margin-right: 8px;
          width: 45px;
          height: 45px;
        }
      }
    }
  }
  .unsubmit-loading {
    height: calc(~'100% - 20px');
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
}
.date-select {
  display: flex;
  height: 30px;
  line-height: 30px;
  padding-left: 20px;
  margin-bottom: -5px;
  align-items: center;
  .select-content {
    position: relative;
    margin-left: 10px;
    .icon-down {
      position: absolute;
      right: -19px;
      top: 2px;
    }
    .text {
      display: flex;
      align-items: center;
      padding-left: 15px;
      &:after {
        content: '\EA0B';
        position: absolute;
        top: 0;
        left: -2px;
        color: #000;
        font-family: icon-coms;
      }
    }
    .list {
      position: absolute;
      width: 150px;
      background: #fff;
      border: 1px solid #eee;
      z-index: 555;
      border-radius: 3px;
      .date-main{
        position: relative;
        .arrow {
          left: 25%;
          transform: translateX(-50%) rotate(45deg);
          position: absolute;
          display: block;
          width: 8.48528137px;
          height: 8.48528137px;
          background: #fff;
          border-style: solid;
          border-width: 1px;
          top: -6px;
          border-top-color: #eee;
          border-right-color: transparent;
          border-bottom-color: transparent;
          border-left-color: #eee;
        }
      }
      ul{
        margin: 0;
        padding: 0;
        list-style: none;
        li.selected {
          color: #55b1f9;
          .am-icon-check {
            float: right;
            margin-top: 4px;
            color: #55b1f9;
          }
        }
        li {
          height: 25px;
          line-height: 25px;
          padding: 5px 15px;
          border-bottom: 1px solid #eee;
          &:last-child {
            border-bottom: none;
          }
        }
      }
    }
  }
}
.statistics-mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  opacity: .3;
  z-index: 22;
}
.am-calendar .date-picker .wrapper{
  background: #f6f8fa;
}
.wea-edc-statistics-advance-search {
  position: absolute;
  z-index: 23;
  top: 45px;
  right: 0;
  left: 0;
  height: 280px;
  background: #fff;
  display: flex;
  flex-direction: column;
  transition: all 0.4s;
  .list {
    flex:1;
    overflow-y: auto;
  }
  .am-list-body {
    &>.am-list-form {
      display: flex;
      align-items: center;
      border-bottom: 1px solid #ddd;
    }
    &>.am-list-form:last-of-type {
      border-bottom: 0px;
    }
    .wm-browser {
      .am-list-form-body {
        border-bottom: 0px;
        .am-list-form {
          align-items: center;
        }
        .am-list-extra {
          display: flex;
          align-items: center;
        }
      }
    }
    .date-type-selected {
      height: 100%;
      display: flex;
      justify-content: flex-start;
      align-items: center;
      span {
        display: inline-block;
        margin-left: 15px;
        font-size: 12px;
        text-align: center;
        min-width: 70px;
        height: 25px;
        line-height: 25px;
        border: 1px solid #eee;
        border-radius: 4px;
      }
      .checked {
        background-color: #45b545;
        color: #fff;
      }
    }
    .date-select {
      height: 44px;
      display: flex;
      justify-content: space-between;
      border-bottom: 1px solid #ddd;
      padding: 0;
      margin: 0 7px 0 22px;
      &>span {
        flex: 1;
        display: flex;
        justify-content: flex-end;
        align-items: center;
        &>span {
          flex: 1;
          text-align: left;
        }
        .am-icon {
          color: #999;
        }
      }
      &>label {
        width:70px;
        padding-right: 25px;
      }
    }
  }
  footer {
    display: flex;
    padding: 0 1px;
    &>.am-button {
      flex: 1;
      height: 40px;
      line-height: 40px;
      border-bottom: 0px;
    }
    &>.am-button:first-of-type {
      border-left: 0px;
      border-right: 0px;
    }
    &>.am-button:last-of-type {
      border-right: 0px;
    }
  }
}
.wea-edc-mobile-weeklist {
  position: absolute;
  z-index: 23;
  top: 45px;
  right: 0;
  left: 0;
  max-height: 280px;
  overflow-y: auto;
  background: #fff;
  display: flex;
  flex-direction: column;
  transition: all 0.4s;
  border-bottom: 1px solid #ddd;

  &>li {
    list-style: none;
    height: 39px;
    line-height: 39px;
    border-bottom: 1px solid #ddd;
    padding: 0 10px;
    background-color: #fff;
    font-size: 12px;
    margin: 0 10px;
    position: relative;
    &>span>span {
      display: inline-block;
      width: 66px;
    }
  }
  &>li:last-of-type {
    border: 0px;
  }
  &>li.checked {
    color: #55b1f9;
    .am-icon {
      position: absolute;
      top: 11px;
      right: 6px;
      color: #55b1f9;
    }
  }
}
.wea-edc-statistics-advance-has-back {
  top: 78px;
}
.wea-edc-mobile-weeklist-has-back {
  top: 78px;
}
.wea-edc-statistics-advance-search-hide {
  top: -235px;
}
.wea-edc-mobile-weeklist-hide {
  top: -235px;
}

.wea-edc-remind-person {
  height:100%;
  background: #fff;
  overflow-y: hidden;
  background-color: #efeff4;
  .am-list {
    background-color: #fff;
    margin: 10px;
    height: calc(~'100% - 77px');
    overflow-y: auto;
    padding: 5px 0;
    .am-list-body {
      border-bottom: 0px;
      .am-list-form {
        margin: 0 16px;
        &>.am-list-form {
          padding: 0;
          margin: 0;
          &>.am-list-title {
            line-height: 44px;
          }
        }
        &>.am-list-form-body {
          margin : 0;
        }
      }
      .am-list-content  {
        // .msg-per {
        //   padding: 5px;
        //   background-color: rgb(235, 235, 235);
          .msg {
            // font-size: 12px;
            display: flex;
            flex-direction: column;
            position: relative;
            padding: 2px 12px 8px;
            // padding: 8px;
            background: #fff;
            border: 1px solid #e2e2e2;
            .mode {
              display: inline-block;
              color: #666;
              font-weight: 700;
              font-size: 14px;
              height: 28px;
              line-height: 28px;
              margin: 4px 0;
            }
            .title {
              display: inline-block;
              line-height: 20px;
              max-height: 148px;
              color: #333;
              overflow: hidden;
              margin-bottom: 15px;
            }
            .desc {
              display: inline-block;
              margin-bottom: 4px;
              min-height: 30px;
              max-height: 150px;
              overflow: hidden;
              color: #999;
              line-height: 18px;
            }
            .more {
              display: flex;
              height: 16px;
              padding-top: 6px;
              border-top: 1px solid #ebebeb;
              align-items: center;
              justify-content: space-between;
              color: #999;
              b {
                font-weight: normal;
              }
            }
          }
			  // }
        color: #666;
        input, textarea {
          color: #666;
        }
      }
      .am-list-extra {
        width: 20px;
        .am-list-icon {
          display: none;
        }
      }
    }
    .am-list-form {
      .am-list-form-body {
        border-bottom: 0px;
      }
      .am-list-label {
        color: #333;
      }
    }
    .am-list-form:last-of-type {
     
      .am-list-form-body {
        border-bottom: 0px;
      }
    }
  }
  .remind-person {
    position: relative;
    display: flex;
    width: 100%;
    color: #55b1f9;
    &>span {
      flex: 1;
    }
    &>a {
      width: 28px;
    }
    .am-icon-search {
      padding: 5px;
      position: absolute;
      top: 10px;
      right: 0;
      color: #ccc;
    }
  }
  .btns {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 47px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    a {
      line-height: 47px;
      height: 47px;
      flex: 1;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    &>a:first-of-type {
      border-right: 0px;
      border-left: 0px;
    }
  }
}
.wea-edc-mobile-remind-person-list {
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  .header {
    .search-has-advance {
      .am-search-extra-button {
        .am-icon-filter-o {
          color: #55b1f9;
        }
      }
    }
  }
  .am-table {
    flex: 1;
    .no-submit {
		  color: #b91818;
  	}
    .am-table-top {
      .am-table-fixtitle {
        z-index: 998;
      }
    }
  }
  footer {
    height: 47px;
    border-top: 1px solid #ddd;
    background: #fff;
    display: flex;
    font-size: 12px;
    &>span {
      line-height: 47px;
      padding: 0 10px;
      height: 100%;
      border-right: 1px solid #fff;
      background: #55b1f9;
      color: #fff;
      flex: 1;
      text-align: center;
    }
     &>span:last-of-type {
      border-right: 0;
    }
    .clear {
      background: #ccc;
      width: 60px;
      text-align: center;
    }
    .sure {
      width: 50px;
      text-align: center;
    }
    .count {
      color: #f4333c;
    }
  }
}
.wea-edc-mobile-person-search {
  .am-list {
    .am-list-body {
      &>.am-list-form:last-of-type {
        .am-list-form-body {
          border-bottom: 0px;
        }
      }
      .wm-browser {
        .am-list-form {
          border-bottom: 0px;
        }
      }
    }
  }
}